package com.marry.daodao.authserver.infrastructure.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author mal
 * @date 2022-11-15 11:40
 */
@Data
@TableName("ml_user")
public class MlUser {
    private Long id;
    private String username;
    private String password;
    private String gender;
    private String email;
    private String phone;
    private LocalDateTime passwordTime;
    private LocalDateTime effStartDate;
    private LocalDateTime effEndDate;
    private LocalDateTime lockEndTime;
    @TableField(fill = FieldFill.INSERT)
    private String state;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private Long createBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private Long updateBy;


}
